package com.mobile.service.dto;
import com.mobile.service.dto.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 任务分配规则表
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TaskAllocationRuleDTO extends BaseDTO {
    @Schema(description = "分配规则唯一标识", accessMode = Schema.AccessMode.READ_ONLY)
    private Integer ruleId;

    @Schema(description = "分配规则名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String ruleName;

    @Schema(description = "分配规则状态", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean status;

    @Schema(description = "险种类型", requiredMode = Schema.RequiredMode.REQUIRED)
    private String insuranceType;

    @Schema(description = "分配规则", requiredMode = Schema.RequiredMode.REQUIRED)
    private String allocationRule;

    @Schema(description = "指定业务员ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private String designatedStaff;

    @Schema(description = "业务属地", requiredMode = Schema.RequiredMode.REQUIRED)
    private String businessLocation;

    @Schema(description = "工单处理阈值", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer workloadThreshold;

    private String designatedStaffName;

}
